Dropzone

Overview

The Drop Zone object describes the meta selections made to drive the query behind the visual. It contains the hierarchy (or columns) and value elections selected in the query.

  • From version: 2020.20

Properties

Properties

caption

caption: string

The plain text caption of the drop zone.

const dropZoneCaption = columnDropzones.caption;

type

type: DropZoneType

The type of the drop zone. Used it to indicate differences between drop zones and their purpose.

chips

chips: Chip[]

A list of "Chips" or selections in the drop zone. Each chip is an attribute (hierarchy / column) or a measure (value) that has been added to the drop zone by the user. The query is calculated based on the selected 'chips'. The "chips" are typically required to determine how to draw the visualization.

const columndropZoneChips = columnDropzones.chips;